package com.状态模式.state1;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NoArgsConstructor
@AllArgsConstructor
@Getter
@ToString
public enum  StateEnum {

    notPay(0,"未支付"),
    paySuccess(1,"支付成功"),
    notTake(2,"待发货"),
    compeleted(3,"已完成"),
    requestRefund(4,"申请退款"),
    refundSuccess(5,"退款成功")
    ;

    private int state;

    private String desc;
}
